package org.jeecg.wms.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.models.auth.In;
import org.jeecg.common.aspect.annotation.Dict;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 来料检测配置明细表
 * @Author: LiCY
 * @Date:   2025-01-02
 * @Version: V1.0
 */
@Data
@TableName("wms_matdetail_cfg")
@ApiModel(value="wms_matdetail_cfg对象", description="来料检测配置明细表")
public class WmsMatdetailCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
    @ApiModelProperty(value = "主键ID")
    @TableId(type = IdType.AUTO)
    private String recId;
	/**主表配置ID*/
    @ApiModelProperty(value = "主表配置ID")
    @Excel(name = "料号", width = 15, dictTable = "wms_mathead_cfg", dicText = "ITEMPARTNO", dicCode = "REC_ID")
    private Integer headid;
	/**检测类型 1-自动，2-手动*/
	@Excel(name = "检测类型 1-自动，2-手动", width = 15)
    @ApiModelProperty(value = "检测类型 1-自动，2-手动")
    @Dict(dicCode = "math_checkTyp")
    private String checkTyp;
	/**检测分组*/
    @ApiModelProperty(value = "检测分组")
    private String checkGroup;
	/**参数名称*/
	@Excel(name = "参数名称", width = 15)
    @ApiModelProperty(value = "参数名称")
    private String name;
	/**参数描述*/
	@Excel(name = "参数描述", width = 15)
    @ApiModelProperty(value = "参数描述")
    private String description;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private String address;

	/**项目类型*/
	@Excel(name = "项目类型1: checkbox, 2: text", width = 15)
    @ApiModelProperty(value = "项目类型")
    @Dict(dicCode = "DATATYPE")
    private String datatype;
	/**下限值*/
	@Excel(name = "下限值", width = 15)
    @ApiModelProperty(value = "下限值")
    private java.math.BigDecimal lowLimit;
	/**上限值*/
	@Excel(name = "上限值", width = 15)
    @ApiModelProperty(value = "上限值")
    private java.math.BigDecimal upLimit;
	/**是否复检*/
	@Excel(name = "是否复检", width = 15)
    @ApiModelProperty(value = "是否复检（1是0否）")
    @Dict(dicCode = "isCheck")
    private String limitCheck;
	/**图片路径*/
    @ApiModelProperty(value = "图片路径")
    private String path;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
	/**标准值*/
    @ApiModelProperty(value = "标准值")
    private java.math.BigDecimal standard;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private String sequence;
	/**状态 1-有效，2-无效*/
	@Excel(name = "状态 1-有效，0-无效", width = 15)
    @ApiModelProperty(value = "状态 1-有效，0-无效")
    @Dict(dicCode = "valid_status")
    private String status;
	/**则分组ID*/
	@Excel(name = "抽样规则分组ID", width = 15)
    @ApiModelProperty(value = "抽样规则分组ID")
    @Dict(dictTable = "wms_rule_cfg", dicText = "GROUPNAM", dicCode = "GROUPID")
    private String groupid;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
